﻿namespace TripleA.Core.Interfaces.Exceptions
{
    using System;
    using System.Runtime.Serialization;

    public class ExpectationException : Exception
    {
        public ExpectationException()
        {
        }

        public ExpectationException(string message) : base(message)
        {
        }

        public ExpectationException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        public ExpectationException(string format, params object[] args)
            : this(string.Format(format, args))
        {
            
        }

        public ExpectationException(Exception innerException, string format, params object[] args)
            : this(string.Format(format, args), innerException)
        {
            
        }

        protected ExpectationException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}